<body class="body">
  <div class="login">
  <h2>忘记密码?</h2>

  <%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f| %>
    <%= devise_error_messages! %>

    <div class="login">
      <%= f.label :邮箱 %><br />
      <%= f.email_field :email, autofocus: true %>
    </div>

    <div class="actions">
      <%= f.submit "邮件重置密码" %>
    </div>

      <div style="color: red;font-size:15px;">
        <p>温馨提示：点击“邮件重置密码”，您的邮箱会收到重置密码的邮件</p>
      </div>

  <% end %></br>

  <%= render "devise/shared/links" %>
  </div>

</body>
